package cn.com.aiton.common.model;

import java.io.Serializable;

public class MQServerDomain implements Serializable {
    private String host;
    private int port;
    private String username;
    private String password;
    private String virtual;

    public MQServerDomain(String host, int port, String username, String password, String virtual) {
        this.host = host;
        this.port = port;
        this.username = username;
        this.password = password;
        this.virtual = virtual;
    }
    public MQServerDomain() {
        this.host = "localhost";
        this.port = 5672;
        this.username = "guest";
        this.password = "guest";
        this.virtual = "";
    }
    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVirtual() {
        return virtual;
    }

    public void setVirtual(String virtual) {
        this.virtual = virtual;
    }
}
